home *** CD-ROM | disk | FTP | other *** search
- Format: ShadowMaster [USE=file] [COMMAND=command] [SECONDS=seconds]
-
- Template: None
-
- Purpose: Monitors input stream activity, and triggers the
- ShadowMaster module specified by the tooltype COMMAND
- if SECONDS time passes with no activity.
-
- Specification: If USE is specified, it is loaded as a preferences file;
- otherwise shadowmaster.prefs in the current directory is
- used. If that file is not present, then the file
- env:shadowmaster/shadowmaster.prefs is loaded. SECONDS and
- COMMAND in the ToolTypes are argument list override
- any values from those files. If none of these are present,
- SECONDS will be set to 300; COMMAND will be set to "black".
- The programn name specified in COMMAND is loaded and run as
- needed, so long as there is not one currently running. When
- there is input activity, the module is sent CTRL-C
- signal indicating that it should exit. ShadowMaster will
- note when it actually exits, and behave appropriately.
- If run from the workbench, COMMAND, SECONDS and USE are
- recognized as tooltypes. In addition, the standard
- Commodity tooltypes are recognized and used.
-
- Configuration: Use the preferences editor screensaver like any other
- preferences editor to edit ShadowMasters behavior.
- See the documentation on screensaver for details on
- these. Besides the usual preferences editor gadgets and
- menus, screensaver has the following gadgets:
-
- Seconds: Number gadget which says how long to wait with no activity
- before blanking the screen.
-
- Rexx Interface: The following commands are supported as Rexx messages.
- It is assumed that you're familiar with ARexx.
-
- version: Returns the version string as a RESULT.
- enable: Enables the ShadowMaster object via commodities.
- disable: Disables the ShadowMaster object via commodities.
- blank: Runs the current saver module immediately.
- unblank: Tries to stop any currently running saver module.
- seconds: Changes the SECONDS setting to its argument. No action
- is taken if there is no argument. In either case, the
- setting BEFORE the change is returned via RESULT.
- command: Changes the COMMAND string to the rest of the command.
- No change is made if that string is empty. In either
- case, it command string BEFORE the change is returned
- in RESULT.
- quit: Causes ShadowMaster to exit immediately.
-
- The Rexx script SMCONFIG demonstrates how the saver could
- be configured from a Rexx script. It has been replaced by
- screensaver (see above), and all parts may not work properly.
- It requires RexxArpLib version 3.0
-